package com.skivingcloud.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 租户资源菜单范围
 * </p>
 *
 * @author skivingcloud
 * @since 2022-03-31
 */
@TableName("sys_tenant_menu")
@ApiModel(value = "TenantMenu对象", description = "租户资源菜单范围")
public class TenantMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("租户ID")
    private String tenantId;

    @ApiModelProperty("资源ID")
    private String menuId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return "TenantMenu{" +
            "id=" + id +
            ", tenantId=" + tenantId +
            ", menuId=" + menuId +
        "}";
    }
}
